package com.patMall.service;

import com.patMall.entity.User;

import java.util.List;

/**
 * @Author 75099637@qq.com
 * @PackageName patMall
 * @Package com.patMall
 * @Date 2023/12/19 10:15
 * @Version 1.0
 */
public interface UserService{
    List<User> getUser(String username);
    List<User> selectByUserNameUser(String role,String userName,int count);
    int addUser(User user);
    User getUserId(Integer userId);
    int updateUser(User user);
    User selectUsername(String username);
    List<User> getAllByIdCard(String idCard);
    List<User> getAllByPhone(String phone);
    List<User> findAllUserRole(String role,int count);

}
